<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="layui/css/layui.css" media="all">

    <style>
        *{
            margin: 0;
            padding: 0;
            list-style: none;
            text-decoration: none;
        }
        html,body{
            width: 100%;
            height: 100%;
        }
        body{
            background: #f5f0f0;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .login-box{
            padding: 30px 0 10px;
            width: 380px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 0 20px #333;
        }
        h2{
            width: 100%;
            text-align: center;
            line-height: 40px;
        }
    </style>
</head>
<body>
    <div class="login-box">
        <h2>
            <a href="/index.html">佳家文件</a>
        </h2>
        <form class="layui-form" action="/login" method="post">
            <div class="layui-form-item">
                <label class="layui-form-label">账 号</label>
                <div class="layui-input-inline">
                    <input type="text" name="username" required  lay-verify="required" placeholder="请输入账号" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">密 码</label>
                <div class="layui-input-inline">
                    <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="formDemo">登 录</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重 置</button>
                </div>
            </div>
        </form>
    </div>

    <script src="layui/layui.js"></script>
    <script>

    </script>
</body>
</html>